<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 4.01 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/pages/safeai/jsp/common/taglibs.jsp"%>
<%@ include file="/pages/safeai/jsp/common/meta.jsp"%>
<html>
<head>
<title>门店管理</title>
<link href="${ctx}/css/safeai/together.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="${ctx}/script/product/shop.js"></script>
</head>
<body>
<html:form action="/shop/shopManage" method="post" onsubmit="return checkModifyShop();">
	<logic:present name="shop">
		<input type="hidden" name="method" value="updateShop"/>
		<input type="hidden" name="shop.id" value="${shop.id}"/>
	</logic:present>
	<logic:notPresent name="shop">
		<input type="hidden" name="method" value="addShop"/>
	</logic:notPresent>
	<table align="center" width="350px">
		<tr>
			<th colspan="2" align="center" height="25px">编辑门店</th>
		</tr>
		<tr>
			<td class="td_01" width="80px">名称：</td>
			<td class="td_04"><input type="text" name="shop.name" value="${shop.name}" maxlength="25"/></td>
		</tr>
		<tr>
			<td class="td_01">编码：</td>
			<td class="td_04"><input type="text" name="shop.code" value="${shop.code}" maxlength="20"/></td>
		</tr>
		<tr>
			<td class="td_01">说明：</td>
			<td class="td_04"><textarea name="shop.info" rows="5" />${shop.info}</textarea></td>
		</tr>
		<tr>
			<td colspan="2" align="center">
			<input type="submit" class="btn" value="提交" name="submit"/>
			<input type="reset" class="btn" value="重置" name="reset"/>
			</td>
		</tr>
	</table>
</html:form>
</body>
</html>
